import request from '@/utils/request'

// 积分、抽奖奖品列表
export function apiMallGoodsLists(params: any) {
    return request.get({ url: '/mall.mall_goods/lists', params })
}

// 添加积分、抽奖奖品
export function apiMallGoodsAdd(params: any) {
    return request.post({ url: '/mall.mall_goods/add', params })
}

// 编辑积分、抽奖奖品
export function apiMallGoodsEdit(params: any) {
    return request.post({ url: '/mall.mall_goods/edit', params })
}

// 删除积分、抽奖奖品
export function apiMallGoodsDelete(params: any) {
    return request.post({ url: '/mall.mall_goods/delete', params })
}

// 积分、抽奖奖品详情
export function apiMallGoodsDetail(params: any) {
    return request.get({ url: '/mall.mall_goods/detail', params })
}